#{extends 'main.html' /}
#{stylesheet src:'/Categories.css' /}
#{stylesheet src:'/HomePage.css' /}
#{set title:'分类列表' /}


<table cellspacing="0" style="border: 0px; width: 855px;">

<tr valign="top" height="30px">
	<td colspan="2">
		<table class="PageHeader"><tr><td>
			<h1>${saleList[0].product.types.name}</h1> &nbsp;(${typesCount})
		</td></tr></table>
	</td>

</tr>

<tr valign="top">
	<td width="610px">


	</td>

    <td rowspan="6" width="8px">&nbsp;</td>

</tr>

<tr class="FeaturedAdsSort">
	<td valign="middle">
    <a name="Feature"></a>
	</td>
</tr>

<tr valign="top">
	<td>
	#{list items:saleList, as:'sale'}
	<table cellspacing="0" class="FeaturedAds" width="100%">
        <tr class="FeaturedAdHead">
            <td valign="middle" colspan="2" style="padding-top: 0.2em; padding-bottom: 0.4em;">
                <div style="display: inline; font-size: 120%;">
                    &nbsp;
                    #{a @SaleInfo.detail(sale.id)} ${sale.title}#{/a}
                </div>
            </td>
            <td width="110" valign="middle" style="padding-top: 0.2em; padding-bottom: 0.4em; text-align: right;" colspan="2">
            <div class="noFastRFI" style="width: 110px;">
                <div class="AdTypeText"><strong class="AdTypeIconText">${sale.status}</strong></div>
            </div>
            </td>
        </tr>    
        <tr valign="top"> 
            <td style="padding-left: 0.3em; padding-right: 0.8em; padding-top: 0.4em;" colspan="3">
                                            厂商: <strong>${sale.product.company.name}</strong>&nbsp; 价格:<strong> ${sale.price}</strong>
                <div class="AdDescription">${sale.depict}</div>
            </td>
            <td width="110px" style="text-align: right; padding-top: 0.4em;">
                <strong>${sale.product.name}</strong><br/>
                  #{a @SaleInfo.detail(sale.id)} 
                	<img src="${sale.pic}" height="66" width="88" align="right" border="0" hspace="3" vspace="3" alt="ASI MS-8000">
                  #{/a}
            </td>                     
        </tr>   
    </table>
	#{/list}

    <p class="PageNumbers">
		#{include 'page/salePage.html' /}
    </p>	

</tr>


</table>